<?php
    session_start();
?>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="css/stylesheet.css" />
    <title>Blog</title>
</head>
<body>
<h1>Blog</h1>
        <div>

        </div>
<br/>
Registreren:
<?php
if(!isset($_GET['error'])){
                echo "registreer uzelf.";
            } else { 
                echo "username of email reeds geregistreerd, probeer het opnieuw.";
            }
?>
<br/>
<br/>

<form action="register_controller.php" method="post">
   <table>
    <tr><td>Gebruikersnaam:</td><td> <input name="username" maxlength="30" type="text" /></td></tr>
    <tr><td>Wachtwoord:</td><td> <input type="password" name="password" maxlength="16" /></td></tr>
    <tr><td>Emailadres:</td><td> <input type="text" maxlength="50" name="email" /></td></tr>
    <tr><td></td><td><input type="submit" value="Registreer!" /></td></tr>
    
   </table>
</form>
</body>
</html>